package com.hwd.gmall.cart.feign.fallback;

import com.hwd.gmall.cart.feign.CartFeignClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 黄伟东/Victor
 * @date 2022/5/7 20:23
 */
@Component
public class CartFeignClientFallback implements CartFeignClient {

    /**
     * 查询当前用户订单确认页的购物车数据
     *
     * @return java.util.Map<java.lang.String, java.lang.Object>
     */
    @Override
    public Map<String, Object> getOrderConfirmedCartInfo() {
        return null;
    }

    /**
     * 新增购物车后，清空购物车
     *
     * @return java.lang.Boolean
     */
    @Override
    public Boolean removeCartInfoAfterAddCartInfo() {
        return null;
    }
}
